package entity

import (
	"time"

	"gitee.com/djaf/my-certs/app/data/dxo"
)

// Certificate ...
type Certificate struct {
	ID dxo.CertificateID

	Base

	DN dxo.DomainName

	NotBefore  time.Time
	NotAfter   time.Time
	CommonName string
	KeyPair    dxo.KeyPairID

	// ForDomains  string

	// issuer

	// subject

	Content dxo.BlobID
}
